﻿using FinModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FinPnl
{
    public interface IPnlCalculate
    {
        /// <summary>
        /// (from, to]
        /// </summary>
        /// <param name="from"></param>
        /// <param name="to"></param>
        /// <returns></returns>
        Pnl[] Calculate(IEnumerable<Trade> trades);
    }
}
